home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-08-26 | 905 b | 23 lines | [TEXT/MPS ] |
- #
- # MPW Shell UserStartup script to define Format menu items.
- #
-
- Set FormatMenu 'Misc' # Define under which title to put menu items.
- Set FormatWidth 72 # Define default Format parameters
- Set FormatTab 0 # …
- Set FormatOption '' # …
- AddMenu "{FormatMenu}" '(-' '' # Draw a separator line (not needed if first item)
- AddMenu "{FormatMenu}" 'Format Text/P' ∂
- 'iformat {FormatOption} -w {FormatWidth} -t {FormatTab} < "{Active}".§ | ∂
- cat > "{Active}".§'
- AddMenu "{FormatMenu}" 'Format Comments/K' ∂
- 'iformat {FormatOption} -c -w {FormatWidth} -t {FormatTab} < "{Active}".§ | ∂
- cat > "{Active}".§'
- AddMenu "{FormatMenu}" 'Fully Justify' ∂
- 'iformat {FormatOption} -w {FormatWidth} -t {FormatTab} -j < "{Active}".§ | ∂
- cat > "{Active}".§'
- AddMenu "{FormatMenu}" 'Fully Justify All' ∂
- 'iformat {FormatOption} -w {FormatWidth} -t {FormatTab} -jJ < "{Active}".§ | ∂
- cat > "{Active}".§'
- Unset FormatMenu
-